package com.navi.loaddata.core.oracleEntity.base;

import com.navi.loaddata.core.oracleEntity.array.EtlArrayParamV;
import com.navi.loaddata.core.oracleEntity.cell1.EtlCellParamV;
import com.navi.loaddata.core.oracleEntity.cell2.EtlCell2ParamV;
import com.navi.loaddata.core.oracleEntity.cf.EtlCfParamV;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * Created by Jay on 2018/3/27.
 */
@Mapper
public interface EtlParamVMapper {

    EtlParamVMapper INSTANCE = Mappers.getMapper(EtlParamVMapper.class);

    EtlArrayParamV etlParamToArray(EtlParamV paramVMapper);
    List<EtlArrayParamV> etlParamToArray(List<EtlParamV> list);

    EtlCfParamV etlParamToCf(EtlParamV paramVMapper);
    List<EtlCfParamV> etlParamToCf(List<EtlParamV> list);

    EtlCellParamV etlParamToCell(EtlParamV paramVMapper);
    List<EtlCellParamV> etlParamToCell(List<EtlParamV> list);

    EtlCell2ParamV etlParamToCell2(EtlParamV paramVMapper);
    List<EtlCell2ParamV> etlParamToCell2(List<EtlParamV> list);

}
